﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/SiteMaster.master" AutoEventWireup="true" CodeBehind="Noticias.aspx.cs" Inherits="PRJ_LDW_Eutoliso.Public.Noticias" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headScript" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="header_search" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="login_header" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="header_pos_menu" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="body_pre_central" runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="body_central" runat="server">

    
     <!-- Start H1 Title -->
                <div class="titlesnormal">

                    <h1>Noticias Eutoliso</h1>



                </div>
                <!-- End H1 Title -->
                <!-- Start Main Body Wrap -->
    <div id="main-wrap">

        <!-- Start Left Section -->
        <div class="leftsection">

                       
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="Id" DataSourceID="sqlNoticias" CellPadding="0" GridLines="None" AllowPaging="True">
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <div class="blogwrap">
                                <div class="blogtitle">
                                    <h3><a href="#" title="">
                                        <asp:Label ID="lblDescPq" runat="server" Text='<%# Eval("Titulo") %>'></asp:Label></a> </h3>
                                </div>
                                <div class="blogbody">
                                    <!-- Start Blog Image -->
                                    <div class="blogimage">
                                        <asp:Image ID="Image1" runat="server" Height="135px" ImageUrl='<%# Eval("Imagem1") %>' />
                                    </div>
                                    <!-- End Blog Text -->
                                    <!-- Start Blog Information -->
                                    <div class="bloginfo">
                                        <%--<p class="usericon">
                                            Postado por: <span>
                                                <asp:Label ID="lblUser" runat="server" Text='<%# Eval("Usuarios") %>'></asp:Label></span></p>--%>
                                        <p class="calendericon">
                                            Em: <span>
                                                <asp:Label ID="lblData" runat="server" Text='<%# Eval("Data", "{0:d}") %>'></asp:Label></span></p>
                                        <p class="settingsicon">
                                            Categoria: <span>
                                                <asp:Label ID="lblCategoria" runat="server" Text='<%# Eval("Categorias") %>'></asp:Label></span></p>
                                        <p class="tagicon">
                                            Tags: <span>Convívios, Festas</span></p>
                                    </div>
                                    <!-- End Blog Information -->
                                    <!-- Start Blog Text -->
                                    <div class="blogtext">
                                        <p> <asp:Label ID="Label1" runat="server" Text='<%# Eval("DescricaoGr") %>'></asp:Label></p>
                                        <p class="blogbutton">
                                            <a class="smallsmoothrectange orangebutton" href="#" title="Read More">Mais Informações</a></p>
                                    </div>
                                    <!-- End Blog Text -->
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            
            
            
             <asp:EntityDataSource ID="dsNoticias" runat="server" ConnectionString="name=eutolisodbEntities1" DefaultContainerName="eutolisodbEntities1" EnableDelete="True" EnableFlattening="False" EnableInsert="True" EnableUpdate="True" EntitySetName="lisonoticias">
            </asp:EntityDataSource>
            <asp:SqlDataSource ID="sqlNoticias" runat="server" ConnectionString="<%$ ConnectionStrings:eutolisodbConnectionString %>" SelectCommand="SELECT Id, Titulo, Data, DescricaoGr, DescricaoPq, Imagem1, Videolink, Categorias FROM lisonoticias
ORDER BY Data DESC"></asp:SqlDataSource>
            
            
            
             <!-- Start Blog Post -->
                        <!-- End Blog Post -->

                        <!-- Start Blog Post -->
                        <!-- End Blog Post -->

                        <!-- Start Blog Post -->
                        <!-- End Blog Post -->

                         <!-- Start Blog Post -->
                        <!-- End Blog Post -->

                        <!-- Start Pagination -->
                        <div class="blogwrap">

                            <div class="blogpagination">

                                <ul>
                                    <li><a href="#" title="Start" class="normal">Start</a></li>
                                    <li><a href="#" title="Previous" class="normal">&lt;Prev</a></li>
                                    <li><a href="#" title="1" class="normal">1</a></li>
                                    <li><a href="#" title="2" class="normal">2</a></li>
                                    <li><a href="#" title="3" class="normal">3</a></li>
                                    <li><a href="#" title="4" class="normal">4</a></li>
                                    <li><a href="#" title="5" class="normalactive">5</a></li>
                                    <li><a href="#" title="6" class="normal">6</a></li>
                                    <li><a href="#" title="7" class="normal">7</a></li>
                                    <li><a href="#" title="8" class="normal">8</a></li>
                                    <li><a href="#" title="9" class="normal">9</a></li>
                                    <li><a href="#" title="10" class="normal">10</a></li>
                                    <li><a href="#" title="Next" class="normal">Next&gt;</a></li>
                                    <li><a href="#" title="Last" class="normal">Last</a></li>
                                </ul>

                            </div>  


                        </div> 
                        <!-- End Pagination -->

    </div>
    <!-- End Left Section -->

                    <!-- Start Right Section -->
                    <div class="rightsection">

                        <!-- Start Blog Widget -->
                                                    <br /> <br /><br />
                        <div class="blogwidgetstart">
                            <!-- Start Advertising Widget -->

                            <div class="widgettitle"><h4>Publicidade</h4></div>

                            <div class="widgetbody">

                                <div class="blogadvertising">

                                    <a href="#"><img src="/App_Themes/eutoliso/images/advertising/themeadvertising.jpg"  alt="Themeforest"/></a>
                                    <a href="#"><img src="/App_Themes/eutoliso/images/advertising/audioadvertising.jpg" alt="Audiojungle"/></a>
                                    <a href="#"><img src="/App_Themes/eutoliso/images/advertising/graphicadvertising.jpg" alt="Grahpicrive"/></a>
                                    <a href="#"><img src="/App_Themes/eutoliso/images/advertising/tutorialadvertising.jpg" alt="Tutsplus"/></a>

                                </div>

                            </div>
                            <!-- End Advertising Widget -->


                        </div>
                        <!-- End Blog Widget -->

                        <!-- Start Blog Widget -->
                        <div class="blogwidget">
                            <!-- Start Categories Widget -->
                            <div class="widgettitle"><h4>Categorias</h4></div>

                            <div class="widgetbody">

                                <div class="blogcategories">

                                    <ul>                                        
                                        
                                        <li><a href="#" title="All Blogs">Convívios</a></li>
                                        <li><a href="#" title="All Blogs">Festas</a></li>                                        
                                        <li><a href="#" title="All Blogs">Discotecas</a></li>                                   
                                        <li><a href="#" title="All Blogs">Redes Sociais</a></li>                                   
                                        <li><a href="#" title="All Blogs">Todas as Categorias</a></li>                                                              
                                    </ul>

                                </div>

                            </div>
                            <!-- End Categories Widget -->
                           

                        </div>
                        <!-- End Blog Widget -->

                        <!-- Start Blog Widget -->
                        <div class="blogwidget">
                            <!-- Start Categories Widget -->
                            <div class="widgettitle"><h4>Links Institucionais</h4></div>

                            <div class="widgetbody">

                                <div class="blogcategories">

                                    <ul>
                                        <li><a href="#" title="All Blogs">Câmera Municipal de Coimbra</a></li>
                                        <li><a href="#" title="All Blogs">SEF - Serviços de Estrangeiros</a></li>                                                             
                                    </ul>

                                </div>

                            </div>
                            <!-- End Categories Widget -->
                           

                        </div>
                        <!-- End Blog Widget -->

                    </div>
                    <!-- End Right Section -->

                </div>
                <!-- End Main Body Wrap -->


</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="body_pos_central" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="body_pos_a_central" runat="server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="footer_twitter_realtime" runat="server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="footer_search" runat="server">
</asp:Content>
<asp:Content ID="Content12" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
